import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AppComponent } from './app.component'
const routes: Routes = [
    { path: '',redirectTo:'/login',pathMatch:'full' },
    { path: 'project',redirectTo:'/project',pathMatch:'full' },
    { path: 'tasklist',redirectTo:'/tasklist',pathMatch:'full' },
 ];

@NgModule({
    imports: [RouterModule.forRoot(routes)],
    exports: [RouterModule]
})
export class AppRoutingModule {}
